home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gWhichSound5, gLastLoop
- set the volume of sound 12 to 0
- puppetSprite(10, 1)
- if the foreColor of sprite 10 = 255 then
- undoLoop()
- set the foreColor of sprite 10 to 226
- set gWhichSound5 to getpn() & "Sounds:Loops:Loop3.aif"
- sound playFile 6, gWhichSound5
- set gLastLoop to 6
- else
- set the foreColor of sprite 10 to 255
- set gWhichSound5 to EMPTY
- sound stop 6
- set gLastLoop to 0
- end if
- updateStage()
- end
-